package com.youlai.boot.factory.converter;

import com.youlai.boot.factory.model.vo.ClothingCategoryVO;
import com.youlai.boot.system.model.entity.Menu;
import com.youlai.boot.system.model.vo.MenuVO;
import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.ClothingCategory;
import com.youlai.boot.factory.model.form.ClothingCategoryForm;

/**
 * 服装分类对象转换器
 *
 * @author youlaitech
 * @since 2025-08-16 00:26
 */
@Mapper(componentModel = "spring")
public interface ClothingCategoryConverter{

    ClothingCategoryForm toForm(ClothingCategory entity);

    ClothingCategory toEntity(ClothingCategoryForm formData);

    ClothingCategoryVO toVo(ClothingCategory entity);
}